package com.baizhi.hospital.dao;

import com.baizhi.hospital.entity.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PatientDao {
    List<Patient> selectPatientByPage(@Param("offset")int offset,@Param("limit")int limit,@Param("bb")String bb);
    int selectPatientCount(@Param("bb")String bb);
    int insert(Patient patient);
    int update(Patient patient);
    Patient selectOnePatient(int patientId);
    int delete(int patientId);
    int multiDelete(int[] ids);

}
